#include <QtGui/QApplication>
#include "V/mainwindow.h"

int main(int argc, char *argv[])
{
    //将GB2312转化为uincode
    QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("GB2312"));
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("GB2312"));

    QApplication a(argc, argv);
    MainWindow w;
    w.show();

    return a.exec();
}
